package io.gitee.skyarthur1987.leporidae.delayqueue.autoconfigure;

import lombok.Data;

/**
 * 线程池属性
 * Created by skyarthur on 2023/1/28
 */
@Data
public class ThreadPoolProperties {
    private Integer corePoolSize = 8;
    private Integer maximumPoolSize = 16;
    private Integer keepAliveInSeconds = 30;
    private Integer blockingQueueSize = 500;
    private String poolName = "delayQueuePollEventListener-pool-%d";
    // 支持通过bean名称指定executor
    private String executorBeanName;
}
